package com.jxc.wiki.service;

import com.jxc.wiki.request.DocQueryParamReq;
import com.jxc.wiki.request.DocSaveParamReq;
import com.jxc.wiki.response.DocQueryParamResp;
import com.jxc.wiki.response.PageParamResp;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DocService {

    List<DocQueryParamResp> all(Long ebookId);
    void save(DocSaveParamReq req);
    void delete(Long id);
    void delete(List<String> ids);
    PageParamResp<DocQueryParamResp> list(DocQueryParamReq req);
    String findContent(Long id);
    void vote(Long id);
    void updateEbookInfo();
}
